package gameManager;

import java.awt.Point;
import java.util.List;

public abstract class AmmunitionObject implements Interactable {

    private int ammoPower;
    private int mySpeed;
    private int myDirection;
    private Point myPosition;
    private String myAmmoObjectName;
    private List<AmmunitionObject> myAmmunitionObject;
    
    public AmmunitionObject (String ammunitionObjectName, Point startPosition, int direction) {
        setAmmunitionObjectName (ammunitionObjectName);
        setDirection(direction);
        setObjectPosition(startPosition);
    }
    

    public void update(int trigger) {
     // TODO Auto-generated method stub
    }

    public abstract void move();

    
    public void setAmmunitionObjectName (String ammunitionObjectName) {
        myAmmoObjectName = ammunitionObjectName;
    }
    
    public String getAmmunitionObjectName() {
        return myAmmoObjectName;
    }
    
    public Point getObjectPosition() {
         return myPosition;
    }

    public void setObjectPosition(Point newPosition) {
        myPosition = newPosition;
    }

    public void setSpeed(int newSpeed) {
        mySpeed = newSpeed;
    }
    public int getSpeed(){
        return mySpeed;
    }

    public void setDirection(int newDirection) {
        myDirection = newDirection;
    }
    public int getDirection() {
        return myDirection;

    }

    public void setPower(int ammunitionPower) {
        ammoPower = ammunitionPower;
    }

    public int getAmmunitionPower() {
        return ammoPower;
    }

    public void destroy() {
     // TODO Auto-generated method stub
    }
    public String getType() {
     // TODO Auto-generated method stub
        return null;
    }
    public List<AmmunitionObject> getAmmunitionObject(){
        return myAmmunitionObject;
    }
}
